/*
 * @Author          : 稻米鼠
 * @Date            : 2022-12-25 17:20:13
 * @LastEditTime    : 2023-01-12 19:39:52
 * @FilePath        : \ob-templates\Dataview\Year-View\view.css
 * @Description     : 
 */

 .dms-year-caption {
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 2.4;
}

.dms-year-months {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.dms-year-month-box {
  padding: .5em;
  flex-grow: 1;
  width: 25%;
}
.dms-year-month-box > .dms-year-month-name {
  text-align: center;
  font-weight: 200;
}
.dms-year-month-box > .dms-year-month-week-name {
  border-bottom: 3px solid rgba(128, 128, 128, .3);
}
.dms-year-month-box > .dms-year-month-week-name,
.dms-year-month-box > .dms-year-month-tr {
  display: flex;
  flex-wrap: nowrap;
/*  font-size: 1.5vw;*/
}
@media (max-width: 2600px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 26px;
  }
}
@media (max-width: 2400px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 24px;
  }
}
@media (max-width: 2200px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 22px;
  }
}
@media (max-width: 2000px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 20px;
  }
}
@media (max-width: 1800px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 18px;
  }
}
@media (max-width: 1600px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 16px;
  }
}
@media (max-width: 1400px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 12px;
  }
}

@media (max-width: 1000px) {
  .dms-year-month-box > .dms-year-month-tr {
    font-size: 10px;
  }
}

.dms-year-month-box > .dms-year-month-tr:nth-child(3) {
  justify-content: flex-end;
}
.dms-year-month-box > .dms-year-month-tr:last-child {
  justify-content: flex-start;
}

.dms-year-month-box .dms-year-month-th,
.dms-year-month-box .dms-year-month-day {
  width: 14.23%;
  box-sizing: border-box;
  padding: .5em .3em;
  text-align: center;
  color: var(--normal-text);
  line-height: 1em;
  white-space: nowrap;
}
.dms-year-month-box a.dms-year-month-day {
  text-decoration: none;
  position: relative;
  display: flex;
  z-index: 10;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
}
.dms-year-month-box a.dms-year-month-day:hover {
  text-decoration: none;
}
.dms-year-month-box a.dms-year-month-day.dms-year-today {
  color: #FCFCFC;
}
.dms-year-month-box a.dms-year-month-day.dms-year-today::before {
  content: " ";
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  border-radius: 2em;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-color: rgba(233, 72, 120, .4);
}
.dms-year-month-box a.dms-year-month-day > .dms-year-day-mark {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1em;
  height: 2px;
  border-radius: 2px;
  transform: translate(-50%, 0);
}
.dms-year-month-box .dms-year-month-weekday-0 {
  color: rgb(233, 72, 120);
}
.dms-year-month-box .dms-year-month-weekday-6 {
  color: rgb(51, 135, 204);
}
